package com.smedi.ismedi.progress.core.port.adapter.service;

import com.smedi.ismedi.constructionproject.api.dto.response.ProjectBasicResponse;
import com.smedi.ismedi.constructionproject.api.dto.response.resp.ProjectResp;
import com.smedi.ismedi.progress.core.domain.dto.ProjectQuery;

import java.util.List;

/**
 * @Author Cookie
 * @Date 2022/7/19
 */
public interface ProjectRemoteService {

    /**
     * 项目 获取 单一
     *
     * @param projectQuery 项目查询
     * @return Project
     */
    ProjectResp getProjectOne(ProjectQuery projectQuery);

    /**
     * 项目 获取 列表
     *
     * @param projectQuery 项目查询
     * @return Project
     */
    List<ProjectResp> getProjectList(ProjectQuery projectQuery);

    List<ProjectBasicResponse> getAllProjectBasicList();
}
